//
//
//
//
//
// TCPSocket.h

#ifndef _TCPSOCKET_H_
#define _TCPSOCKET_H_

#include "datatypes.h"
#include "Socket.h"

class NetAddr;
class TimeVal;
class TCPSocket : public Socket
{
	public:
		TCPSocket();
		TCPSocket(S32 fileID);
		TCPSocket(const TCPSocket& other);
		TCPSocket& operator=(const TCPSocket& other);
		~TCPSocket();
		
		bool operator==(const TCPSocket& other);
		virtual void Connect(const NetAddr& addr, const TimeVal& inv);
		void Bind(const NetAddr& addr);
		void Listen(U32 backLog);
		TCPSocket Accept(NetAddr& addr);
	private:
};

#endif // _TCPSOCKET_H_
